package com.ruoyi.procurementmanagement.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Description
 * @Author 曹正
 * @Date 2025/4/15 19:10
 **/
public class ErpGoodsInventory extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer warehouse_id;
    private Integer goods_id;
    private String warehouse_name;
    private String goods_name;
    private Integer num;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(Integer warehouse_id) {
        this.warehouse_id = warehouse_id;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public String getWarehouse_name() {
        return warehouse_name;
    }

    public void setWarehouse_name(String warehouse_name) {
        this.warehouse_name = warehouse_name;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("warehouse_id", getWarehouse_id())
                .append("goods_id", getGoods_id())
                .append("warehouse_name", getWarehouse_name())
                .append("goods_name", getGoods_name())
                .append("num", getNum())
                .toString();
    }
}
